package com.fizzkai.p2p.bussness.service;

import com.fizzkai.p2p.bussness.domain.Bid;
import com.fizzkai.p2p.core.query.QueryObject;
import com.github.pagehelper.PageInfo;

public interface IBidService {
    int save(Bid entity);
    int update(Bid entity);
    Bid get(Long id);
    PageInfo<Bid> query(QueryObject qo);

    void updateState(Long bidRequestId, int state);

}
